<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <h1>第一个数字</h1>
    <h1>第二个数字</h1>

    <script>
        let arr=[1,3,4,5]
       let arr1= arr.filter(item=>{
            item=item+1
        })
        console.log(arr1);

    </script>
    
</body>
</html>